package com.zjuee.base.model.common.company;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zjuee.base.model.Description;
import com.zjuee.base.valid.Insert;
import com.zjuee.base.valid.Update;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * 仓库设施信息表
 *
 * @author wu liang
 * @since 1.0
 */
@Data
@TableName("bc_company_work")
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class CompanyWork extends Description {

	/**企业ID*/
	private Long bciId;

	/**设施地址*/
	@NotBlank(message = "bcwAddress can't be empty", groups = {Insert.class, Update.class})
	private String bcwAddress;

}
